ModOperator
Type
operator
Summary
Mod operator.
Syntax
<Left> mod <Right>
Description
Returns the remainder on dividing Left by Right
Parameters
Name | Type | Description |
---|---|---|
Left | An expression that evaluates to a number. | |
Right | An expression that evaluates to a number. |
Examples
variable tVar as Number
put 4^((7 - 1)/2) mod 7 into tVar -- tVar contains 1